package com.supermate.init.exceptions;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author jiao.zhou
 */
@Data
@AllArgsConstructor
public class BaseException extends RuntimeException {

    String errorCode;

    String errorMsg;

    public BaseException(String errorMsg){
        this.errorMsg = errorMsg;
    }

}
